#ifndef __IGNORESIGNAL_H__
#define __IGNORESIGNAL_H__

#include <signal.h>

class IgnoreSignal
{
  public:
    IgnoreSignal(int signo)
    {
        ::signal(signo, SIG_IGN);
    }
};

#endif  // __IGNORESIGNAL_H__